package today.rocky.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "api_agent_set")
@Data
public class ApiAgentSet implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 活动地址
     */
    @Column(name = "AdURL")
    private String adURL;

    /**
     * 支付地址
     */
    @Column(name = "PayURL")
    private String payURL;

    /**
     * 客服系统的地址
     */
    @Column(name = "ServiceURL")
    private String serviceURL;

    @Id
    @Column(name = "userId", insertable = false, nullable = false)
    private Integer userId;

    
}